package com.young.rpc.handler;

import com.young.job.JobContext;

/**
 * @description：任务执行器
 * @author: yangyahui01
 * @date: 11/25/24 2:50 PM
 */
public interface JobHandler<T> {

    <T> T doJob(JobContext jobContext);

    int check(JobContext jobContext);
}
